package com.ccrfid.rmc6.repository.sys;

import com.ccrfid.rmc6.entity.sys.RoomManagerEntity;
import org.springframework.data.repository.Repository;

import java.util.List;

public interface RoomManagerRepository extends Repository<RoomManagerEntity, Long> {

    List<RoomManagerEntity> getByOrgId(Long orgId);

    RoomManagerEntity save(RoomManagerEntity entity);

    RoomManagerEntity getById(Long id);

    void deleteById(Long id);

    Boolean existsById(Long id);

}
